import cv2 as cv
import numpy as np


def main():
    img = cv.imread('../data/test.png')
    blur = cv.bilateralFilter(img, 21, 20, 20)
    median = cv.medianBlur(blur, 5)
    GBlur = cv.GaussianBlur(blur, (5, 5), 0)
    h1 = np.hstack((img, blur))
    h2 = np.hstack((median, GBlur))
    res = np.vstack((h1, h2))
    cv.imshow('Press any key to exit', res)
    cv.waitKey(0)
    cv.destroyAllWindows()


if __name__ == "__main__":
    main()
